home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / p_man / cat3 / X11 / XSetCloseDownMode.z / XSetCloseDownMode
Encoding:
Text File  |  1998-10-30  |  4.5 KB  |  133 lines

  1.  
  2.  
  3.  
  4.      XXXXSSSSeeeettttCCCClllloooosssseeeeDDDDoooowwwwnnnnMMMMooooddddeeee((((3333XXXX11111111))))XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....3333))))XXXXSSSSeeeettttCCCClllloooosssseeeeDDDDoooowwwwnnnnMMMMooooddddeeee((((3333XXXX11111111))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           XSetCloseDownMode, XKillClient - control clients
  10.  
  11.      SSSSYYYYNNNNTTTTAAAAXXXX
  12.           XSetCloseDownMode(_d_i_s_p_l_a_y, _c_l_o_s_e__m_o_d_e)
  13.                 Display *_d_i_s_p_l_a_y;
  14.                 int _c_l_o_s_e__m_o_d_e;
  15.  
  16.           XKillClient(_d_i_s_p_l_a_y, _r_e_s_o_u_r_c_e)
  17.                 Display *_d_i_s_p_l_a_y;
  18.                 XID _r_e_s_o_u_r_c_e;
  19.  
  20.      AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  21.           _c_l_o_s_e__m_o_d_e
  22.                     Specifies the client close-down mode.  You can
  23.                     pass _D_e_s_t_r_o_y_A_l_l, _R_e_t_a_i_n_P_e_r_m_a_n_e_n_t, or
  24.                     _R_e_t_a_i_n_T_e_m_p_o_r_a_r_y.
  25.  
  26.           _d_i_s_p_l_a_y   Specifies the connection to the X server.
  27.  
  28.           _r_e_s_o_u_r_c_e  Specifies any resource associated with the client
  29.                     that you want to destroy or _A_l_l_T_e_m_p_o_r_a_r_y.
  30.  
  31.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  32.           The _X_S_e_t_C_l_o_s_e_D_o_w_n_M_o_d_e defines what will happen to the
  33.           client's resources at connection close.  A connection starts
  34.           in _D_e_s_t_r_o_y_A_l_l mode.  For information on what happens to the
  35.           client's resources when the close_mode argument is
  36.           _R_e_t_a_i_n_P_e_r_m_a_n_e_n_t or _R_e_t_a_i_n_T_e_m_p_o_r_a_r_y, see section 2.6.
  37.  
  38.           _X_S_e_t_C_l_o_s_e_D_o_w_n_M_o_d_e can generate a _B_a_d_V_a_l_u_e error.
  39.  
  40.           The _X_K_i_l_l_C_l_i_e_n_t function forces a close down of the client
  41.           that created the resource if a valid resource is specified.
  42.           If the client has already terminated in either
  43.           _R_e_t_a_i_n_P_e_r_m_a_n_e_n_t or _R_e_t_a_i_n_T_e_m_p_o_r_a_r_y mode, all of the client's
  44.           resources are destroyed.  If _A_l_l_T_e_m_p_o_r_a_r_y is specified, the
  45.           resources of all clients that have terminated in
  46.           _R_e_t_a_i_n_T_e_m_p_o_r_a_r_y are destroyed (see section 2.5).  This
  47.           permits implementation of window manager facilities that aid
  48.           debugging.  A client can set its close-down mode to
  49.           _R_e_t_a_i_n_T_e_m_p_o_r_a_r_y.  If the client then crashes, its windows
  50.           would not be destroyed. The programmer can then inspect the
  51.           application's window tree and use the window manager to
  52.           destroy the zombie windows.
  53.  
  54.           _X_K_i_l_l_C_l_i_e_n_t can generate a _B_a_d_V_a_l_u_e error.
  55.  
  56.      DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
  57.           _B_a_d_V_a_l_u_e  Some numeric value falls outside the range of
  58.                     values accepted by the request.  Unless a specific
  59.                     range is specified for an argument, the full range
  60.  
  61.  
  62.  
  63.      Page 1                                          (printed 4/30/98)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      XXXXSSSSeeeettttCCCClllloooosssseeeeDDDDoooowwwwnnnnMMMMooooddddeeee((((3333XXXX11111111))))XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....3333))))XXXXSSSSeeeettttCCCClllloooosssseeeeDDDDoooowwwwnnnnMMMMooooddddeeee((((3333XXXX11111111))))
  71.  
  72.  
  73.  
  74.                     defined by the argument's type is accepted.  Any
  75.                     argument defined as a set of alternatives can
  76.                     generate this error.
  77.  
  78.      SSSSEEEEEEEE AAAALLLLSSSSOOOO
  79.           _X_l_i_b - _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.      Page 2                                          (printed 4/30/98)
  130.  
  131.  
  132.  
  133.